Schedule Trigger

Startup Watcher

See Also

Introduction to Triggers, Available Triggers

Description

Launches task when the AutoMate task service starts or when a user logs onto the system.

Practical Usage

Starts tasks that should run when the system starts.

Parameters

General Tab

Action

Specifies whether the trigger will start the task when the task service starts (usually when the system starts but before logon) - or when a after the user logs on.

The available options are:

Task Service Starts: The task will run when the task service starts (usually this is when the system starts, before the user logs on).

User Logs In: The task will run when any user or specified user(s) log in.

User

Specifies which user log on events should trigger the task. This option is only available when the Action User Logs In is selected.

The available options are:

Any Users: The task will run when any user logs on.

Specified User: The task will run when any of the specified users log on. Multiple entries should be separated by commas.

Counter Tab

Trigger after condition has been met

Specifies how many times the trigger condition must be met before the task is started. The default is 1. This parameter is available in all triggers except Schedule Watcher.

Trigger Parameters

When this trigger is activated - it automatically populates the AMTrigger object to the task.

The following properties are populated:

Standard Parameters

Parameters available in all triggers.

AMTrigger.Trigger
Text
The name of the trigger that started the task.  For this trigger, the value is set to "AMPROCESSTRIGGER".
AMTrigger.TaskName
Text
The name of the managed task that the trigger was attached to .  This is useful to determine the responsible task when two managed tasks point to the same AML file.
AMTrigger.TriggeredOn
Text
The name of the computer that the task was triggered on.

Trigger-Specific Parameters

Parameters available only in this trigger.

AMTrigger.UserName
Text

Returns the username of the user who logged on when the task was triggered.